package com.erbao.classloader;

/**
 * @author CaoBaoYin
 * @since 2022/3/26 16:55
 */
public class ClassLoadingProcedure {

    public static void main(String[] args) {
        System.out.println(T.count);
    }

}

class T {
    public static int count = 2;
    public static T t = new T();

    static {
        count++;
        System.out.println("T static");
    }

    public T() {
        System.out.println("T constructor");
    }
}
